package fhp.hlhj.giantfold.customView

import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.widget.PopupWindow
import android.widget.RelativeLayout
import fhp.hlhj.giantfold.R

/**
 * author: FHP
 * data: on 2018\1\30 0030 16:15
 * E-Mail: 103945089@qq.com
 */
class ResultPop(private val context: Context) :PopupWindow() {
    private lateinit var rootview:View
    init {
        initPop()
        this.width= RelativeLayout.LayoutParams.MATCH_PARENT
        this.height=RelativeLayout.LayoutParams.MATCH_PARENT
        this.isFocusable=true
    }

    private fun initPop() {
        rootview=LayoutInflater.from(context).inflate(R.layout.result_pop,null)



    }
}